Results<%if @word%><font color="red"><i> &nbsp;&nbsp;&nbsp; "<%=@word%>"</i></font><%end%><br/>
<div align="right"><%=will_paginate @results%></div>
<table width="100%" class="basic_table">
  <tr align="center">
    <th>RunID</th>
    <th>N</th>
    <th>Note</th>
    <th>Run At</th>
    <th></th>
  </tr>
  <%@results.each_with_index do |r,i|%>
  <tr align="center">
    <td align="right"><%=r.id%></td>
    <td><%=r.total_data%></td>
    <td align="left" width="300px">
      <span id="remark_area_<%=r.id%>">
        <%=r.remark%>
        <img src="/images/apply.gif" alt="Edit" title="Edit" style="cursor:pointer; vertical-align:middle;" onclick="<%=remote_function(:url=>{:controller=>"project",:action=>"edit_remark",:id=>"#{r.id}"}, :update=>"remark_area_#{r.id}")%>"/>
      </span>
    </td>
    <td><%=r.created_at%></td>
    <td>
      <a href="/project/view_result/<%=r.id%>" target="_blank">ViewResult</a> &nbsp;
      <%= link_to "Delete",  {:action => "result_delete", :id => r.id}, :confirm => "Are you sure?" %>
    </td>
  </tr>
  <%end%>
</table>